import { Column, Entity, ObjectID, ObjectIdColumn } from "typeorm";

@Entity()
export class Majors {
  @ObjectIdColumn()
  id: ObjectID

  @Column()
  major_name: string

  @Column()
  college_name: string

  @Column()
  introduce: string

  @Column()
  create_time: string

  @Column()
  cid: string
}